{*
Feb 24, 2011 - trungdt - implement better seo search support
redirect all search request to /search/blabla
*}
<form id="search_form" name="form" method="GET" action="{$smarty.const.URL_FULL}index.php">
	<input type="hidden" name="action" id="action" value="search">
	<input type="hidden" name="module" id="module" value="searchmodule">
	<!--<fieldset class="field_search">-->
		<!--<label for="searchTerm" class="inlineLabel">Search</label>-->
		<div class="icon_search">
                <!--<input type="submit" value="" id="searchSubmit" class="tunv_Search">
                <!--<img src="{$smarty.const.THEME_RELATIVE}modules/searchmodule/images/search.png"></img>-->
               <!-- <input id="search_string"  name="search_string" size="15px" type="text" value="{$_TR.search_word}" onblur="if(this.value=='') this.value='{$_TR.search_word}';" onfocus="if(this.value=='{$_TR.search_word}') this.value='';" class="input_search">-->
               <input type="text" name="search_string" class="search" id="search_string" onblur="if(this.value=='') this.value='{$_TR.search_word}';" onfocus="if(this.value=='{$_TR.search_word}') this.value='';" value="{$_TR.search_word}">
               <input type="submit" class="search-submit" value="" id="searchSubmit">
            
		</div> 
		<!--<input type="submit" value="Search" id="searchSubmit" class="btnSearch img">-->
	<!--</fieldset> -->
    
   
    
    
</form>
<script language="javascript">
	{literal}
	jQuery(document).ready(function(){
	jQuery("#search_form").submit(function(){
	var url="/search/"+encodeURI(jQuery("[name='search_string']").val());
	document.location=url;               
	return false;
	});
	});
	{/literal}
</script>
{literal}
    <script>
            
    </script>
{/literal}